package com.lin.cloud.disk.entity.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author ljc
 * @date 2021/1/26 18:43
 */
@Data
public class UserInfoResponse {

    @ApiModelProperty(value = "用户ID", name = "id")
    @NotNull(message = "用户ID不能为空")
    private Long id;

    @ApiModelProperty(value = "用户名", name = "username")
    private String username;

    @ApiModelProperty(value = "用户昵称", name = "nickname")
    private String nickname;

    @ApiModelProperty(value = "用户头像", name = "avatarUrl")
    private String avatarUrl;

    @ApiModelProperty(value = "手机号", name = "phone")
    private Long phone;

    @ApiModelProperty(value = "性别 0 - 男 1 女", name = "sex")
    private Integer sex;

    @ApiModelProperty(value = "真实姓名", name = "realName")
    private String realName;

    @ApiModelProperty(value = "qq", name = "qq")
    private Long qq;

    @ApiModelProperty(value = "邮箱", name = "email")
    private String email;
}
